package com.atguigu.jxc.service.impl;

import com.atguigu.jxc.dao.SupplierDao;
import com.atguigu.jxc.entity.Supplier;
import com.atguigu.jxc.service.LogService;
import com.atguigu.jxc.service.SupplierService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class SupplierServiceImpl implements SupplierService {
    @Autowired
    private LogService logService;
    @Autowired
    private SupplierDao supplierDao;
    @Override
    public List<Supplier> getComboboxList(String q) {
        return supplierDao.getSupplierListByNameLike(q);
    }
}
